#region License
// /* **************************************************************
// * Copyright (C) intex Consulting GmbH - All Rights Reserved    *
// *--------------------------------------------------------------*
// * Unauthorized copying of this file, via any medium is         *
// * strictly prohibited                                          *
// *--------------------------------------------------------------*
// * Proprietary and confidential                                 *
// *--------------------------------------------------------------*
// * Dissasembling/modifications strictly prohibited!             *
// ***************************************************************/
#endregion

using System;

namespace ComHlp.ContentClasses.VirtualControls.ContextMenu
{
    /// <summary> intex context menu entry </summary>
    public class ItxContextMenuItem : ICloneable
    {
        /// <summary> display text </summary>
        public string Text { get; }

        /// <summary> protocol value </summary>
        public string Value { get; }


        /// <summary> Default constructor </summary>
        /// <param name="title"></param>
        /// <param name="val"></param>
        public ItxContextMenuItem(string title, string val)
        {
            Text = title;
            Value = val;
        }

        object ICloneable.Clone()
        {
            return Clone();
        }
        public ItxContextMenuItem Clone()
        {
            return MemberwiseClone() as ItxContextMenuItem;
        }
    }
}